<?php /* Smarty version 2.6.26, created on 2010-09-30 14:39:06
         compiled from C:%5Cxampp%5Chtdocs%5Cwww3ushop%5Csc/templates/phuocndt/index.tpl */ ?>
<?php global $customer_id; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html $htmlparams xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<!--$headcontent-->

    <link href="<?php echo $this->_tpl_vars['folders']; ?>
css/layout.css" type="text/css" rel="Stylesheet" />
    <script type="text/javascript" src="<?php echo $this->_tpl_vars['folders']; ?>
js/pngfix.js"></script>
    <script type="text/javascript" src="<?php echo $this->_tpl_vars['folders']; ?>
js/jquery-1.4.2.js"></script>
    <script type="text/javascript" src="<?php echo $this->_tpl_vars['folders']; ?>
js/jquery.easing.min.js"></script>
    <script type="text/javascript" src="<?php echo $this->_tpl_vars['folders']; ?>
js/jquery.lavalamp.min.js"></script>
    <script type="text/javascript">
    <?php echo '
        jQuery(function() {
            jQuery("#hmenu").lavaLamp({
                fx: "backout",
                speed: 700,
                click: function(event, menuItem) {
                    return false;
                }
            });
        });

        function onFocus() {
            var t = document.getElementById("searchtxt").value;
            if (t == "Nhập từ khóa muốn tìm")
                document.getElementById("searchtxt").value = "";
        }
        function onBlur() {
            var t = document.getElementById("searchtxt").value;
            if (t == "")
                document.getElementById("searchtxt").value = "Nhập từ khóa muốn tìm";
        }

        window.attachEvent("onload", correctPNG);
        
        jQuery(document).ready(function(){
           jQuery("#checkout").click(function(event){
                window.location.href = \'checkout_shipping.php\';             
           });
           
           jQuery("#hmenu li").click(function(){
               jQuery(this).toggleClass("current");            
           });
         });
    '; ?>

    </script>
</head>
<body>

<div align="center">
    <div class="allwrapper">
        <div class="headerbg"></div>
        <div class="header">
            <?php include DIR_WS_INCLUDES.'load_wid/top.php'; ?>           
            
            <ul class="lavaLampWithImage" id="hmenu">
                <li class="current"><a href="index.php?cPath=26">Quần áo bé</a></li>
                <li><a href="index.php?cPath=27">Đồ chơi</a></li>
                <li><a href="index.php?cPath=28">&nbsp;Đồ dùng cho bé</a></li>
                <li><a href="index.php?cPath=41">Thực phẩm</a></li>
                <li><a href="index.php?cPath=42">Thuốc cho bé</a></li>
            </ul>
            
            <?php include DIR_WS_INCLUDES.'load_wid/welcome.php'; ?>
            <?php include DIR_WS_INCLUDES.'load_wid/search.php'; ?>
        </div>
        <div class="body">
            <div class="leftmenu">
                <?php include DIR_WS_INCLUDES.'load_wid/left.php'; ?>
                
                <div class="lmbot"></div>
                <div class="flower"></div>
            </div>
            <div class="home-content">
                <div class="home-top"></div>
                <?php $cPath = $_REQUEST['cPath'];
                    if($cPath != ''){
                 ?>
                <div class="toy-top">
                    <?php include DIR_WS_INCLUDES.'load_wid/breadcrumbs.php'; ?>
                    <?php include DIR_WS_INCLUDES.'load_wid/cartbox.php'; ?>             
                </div>
                <?php 
                    }
                 ?>
                <div class="home-mid">
                    $content                                       
                </div>
                
                <div class="home-bot"></div>
                
                <div class="footer">
                    <ul class="footernav">
                        <li><a href="index.php?cPath=26" title="Quần áo">Quần áo</a></li>
                        <li><a href="index.php?cPath=39" title="Trẻ em">Trẻ em</a></li>
                        <li><a href="index.php?cPath=31" title="Gia dụng">Gia dụng</a></li>
                        <li><a href="index.php?cPath=41" title="Sữa">Sữa</a></li>
                        <li class="lastnav"><a href="index.php?cPath=42" title="Thuốc bổ">Thuốc bổ</a></li>
                    </ul>
                    © 2010 <a href="index.php" title="UShop.vn">Ushop.vn.</a> All Rights Reserved.
                </div>
            </div>
        </div>
    </div>
</div>

<!-- Cai dat XFBML -->
<div id="fb-root"></div>
<script>
<?php echo '
  window.fbAsyncInit = function() {
    FB.init({appId: \'150375571655788\', status: true, cookie: true,
             xfbml: true});
  };
  (function() {
    var e = document.createElement(\'script\'); e.async = true;
    e.src = document.location.protocol + \'//connect.facebook.net/en_US/all.js\';
    document.getElementById(\'fb-root\').appendChild(e);
  }());
'; ?>

</script>
<!-- Ket thuc cai dat XFBML -->

</body>
</html>